Rivers and their gradients